package com.app.teaware.bean;


import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Index;

import java.io.Serializable;
import org.greenrobot.greendao.annotation.Generated;

@Entity(indexes = {@Index(value = "bwt,bwf", unique = true)})

public class BoxInfoData  implements Serializable {

    private static final long serialVersionUID = 1L;

    //输入参数
    /**
     * Authorization    //用户登录时的授权码(令牌)
     * aid              //账套id
     */

    //输出内容
    /**
    data": [
    {
        "bid": null,
        "aid": null,
        "bfs": null,
        "box": null,
        "bsp": null,
        "bun": null,
        "bwt": 12,	    //净重
        "bwf": 10,	    //毛重
        "fsg": null
    }
	]
     */
    private String bid;
    private String aid;
    private String bfs;
    private String box;
    private String bsp;
    private String bun;
    private double bwt;    //净重
    private double bwf;    //毛重
    private String fsg;

    @Generated(hash = 79280266)
    public BoxInfoData(String bid, String aid, String bfs, String box, String bsp,
            String bun, double bwt, double bwf, String fsg) {
        this.bid = bid;
        this.aid = aid;
        this.bfs = bfs;
        this.box = box;
        this.bsp = bsp;
        this.bun = bun;
        this.bwt = bwt;
        this.bwf = bwf;
        this.fsg = fsg;
    }

    @Generated(hash = 1656888425)
    public BoxInfoData() {
    }

    public String getBid() {
        return bid;
    }

    public void setBid(String bid) {
        this.bid = bid;
    }

    public String getAid() {
        return aid;
    }

    public void setAid(String aid) {
        this.aid = aid;
    }

    public String getBfs() {
        return bfs;
    }

    public void setBfs(String bfs) {
        this.bfs = bfs;
    }

    public String getBox() {
        return box;
    }

    public void setBox(String box) {
        this.box = box;
    }

    public String getBsp() {
        return bsp;
    }

    public void setBsp(String bsp) {
        this.bsp = bsp;
    }

    public String getBun() {
        return bun;
    }

    public void setBun(String bun) {
        this.bun = bun;
    }

    public double getBwt() {
        return bwt;
    }

    public void setBwt(double bwt) {
        this.bwt = bwt;
    }

    public double getBwf() {
        return bwf;
    }

    public void setBwf(double bwf) {
        this.bwf = bwf;
    }

    public String getFsg() {
        return fsg;
    }

    public void setFsg(String fsg) {
        this.fsg = fsg;
    }
}
